﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace MvcApplicationEmpty.Models
{
    public class CustomerModel
    {
        [DisplayName("Customer Name")]
        [Required(ErrorMessage = "Name is required.")]
        [StringLength(100, ErrorMessage = "Name cannot be more than 100 characters.")]
        public string Name { get; set; }

        public string CompanyName { get; set; }
    }
}